package com.moon.cglib;

import com.moon.cglib.entiy.Ticket;
import com.moon.proxy.SellTickets;

public class Client {

    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory();
        TicketsStation ticketsStation = proxyFactory.generate();

//        System.out.println(proxySellTickets);
        Ticket sell = ticketsStation.sell("北极光→西伯利亚");

        System.out.println(sell);
    }
}
